﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IronCommander.Utils.Logging
{
    public class Logger
    {
        readonly Action<string> log;

        public Logger(Action<string> log)
        {
            this.log = log;
        }

        public void Log(string message, params object[] args)
        {
            log(string.Format(message, args));
        }
    }
}
